<div class="side-admin">
  <h2>用户中心</h2>
  <div class="side-admin-warp">
    <div class="mod-side-admin">
      <h3>{$urls[1][name]}</h3>
      <div class="mod-side-admin-cont"><!--我的账户-->
        <ul>
          <li><a href="#" onclick='directFrame("{$urls[1][urls][1][url]}")'>{$urls[1][urls][1][name]}</a></li>
          <li style="display: none"><a href="/pw8/profile.php?action=privacy">{$urls[1][urls][2][name]}</a></li><!--TODO-->
        </ul>
      </div>
    </div>
    <div class="mod-side-admin"><!--我的专栏-->
      <h3><span></span>{$urls[2][name]}</h3>
      <div class="mod-side-admin-cont">
        <ul>
          <li><a href="{$urls[2][urls][1][url]}" class="alt-link" target="_blank">{$urls[2][urls][1][name]}</a></li>
          <li><a href="#" onclick="directFrame('{$urls[2][urls][2][url]}')">{$urls[2][urls][2][name]}</a></li>
          <li><a href="#" onclick="directFrame('{$urls[2][urls][3][url]}')">{$urls[2][urls][3][name]}</a></li>
          <li><a href="#" onclick="directFrame('{$urls[2][urls][4][url]}')">{$urls[2][urls][4][name]}</a></li>
        </ul>
      </div>
    </div>
    <div class="mod-side-admin"><!--我的群组-->
      <h3>{$urls[3][name]}  </h3>
      <div class="mod-side-admin-cont">
        <ul>
          <li><a href="#" onclick="directFrame('{$urls[3][urls][1][url]}')"> {$urls[3][urls][1][name]}</a></li>
          <li><a href="#" onclick="directFrame('{$urls[3][urls][2][url]}')">{$urls[3][urls][2][name]}</a></li>
          <li><a href="#" onclick="directFrame('{$urls[3][urls][6][url]}')">{$urls[3][urls][6][name]}</a></li>
          <li style="display: none"><a href="#" onclick="directFrame('{$urls[3][urls][3][url]}')">{$urls[3][urls][3][name]}</a></li>
          <li style="display: none"><a href="/pw8/apps.php?q=groups&a=create=1">{$urls[3][urls][4][name]}</a></li>
          <li><a href="#" onclick="directFrame('{$urls[3][urls][5][url]}')">{$urls[3][urls][5][name]}</a></li>
        </ul>
      </div>
    </div>
    <div class="mod-side-admin">
      <h3>{$urls[4][name]}</h3>
      <div class="mod-side-admin-cont"><!--资料分享-->
        <ul>
          <li><a href="javascript:void(0)" onclick="directFrame('{$urls[4][urls][1][url]}')" >{$urls[4][urls][1][name]}</a></li>
          <li><a href="javascript:void(0)" onclick="directFrame('{$urls[4][urls][2][url]}')" >{$urls[4][urls][2][name]}</a></li>
          <li><a href="javascript:void(0)" onclick="directFrame('{$urls[4][urls][3][url]}')" >{$urls[4][urls][3][name]}</a></li>
        </ul>
      </div>
    </div>
    <div class="mod-side-admin" style="display: none"><!--TODO-->
      <h3>VIP服务</h3>
      <div class="mod-side-admin-cont">
        <ul>
          <li><a href="#" title=""> 法规标准筛选</a></li>
          <li><a href="#" title=""> 检查清单</a></li>
          <li><a href="#" title="">说明会登记</a></li>
          <li><a href="#" title="">律师服务</a></li>
          <li><a href="#" title="">EAP服务</a></li>
          <li><a href="#" title=""> 培训服务</a></li>
        </ul>
      </div>
    </div>
    <div class="mod-side-admin" style="display: none"><!--TODO-->
      <h3>我的收藏</h3>
      <div class="mod-side-admin-cont">
        <ul>
          <li><a href="#" title="">收藏列表</a></li>
          <li><a href="#" title="">收藏分类</a></li>
          <li><a href="#" title="">我的订阅</a></li>
        </ul>
      </div>
    </div>
    <div class="mod-side-admin"><!--财务记录-->
      <h3>{$urls[7][name]}</h3>
      <div class="mod-side-admin-cont">
        <ul>
          <li><a href="javascript:void(0)" onclick="directFrame('{$urls[7][urls][1][url]}')" >{$urls[7][urls][1][name]}</a></li>
          <li><a href="javascript:void(0)" onclick="directFrame('{$urls[7][urls][2][url]}')" >{$urls[7][urls][2][name]}</a></li>
        </ul>
      </div>
    </div>
    <div class="mod-side-admin" <if condition="$dev eq 0">style="display:none"</if>><!--我的供求-->
      <h3>{$urls[8][name]}</h3>
      <div class="mod-side-admin-cont">
        <ul>
          <li><a href="javascript:void(0)" onclick="directFrame('{$urls[8][urls][1][url]}')" >{$urls[8][urls][1][name]}</a></li>
        </ul>
      </div>
    </div>
  </div>
</div>
<script>
  function directFrame(url){
    $("#ifrMain").attr("src",url);
  }
</script>